export interface UserParams {
  _id?: string
  username: string
  password: string
  name: string
  gender: string
  avatar: string
  file: string
  [i: string]: string | any // 索引签名
}

export interface GenderItem {
  value: number
  label: string
}
export type GenderArray = GenderItem[]
export interface RoleItem {
  value: number
  label: string
}
export type RoleArray = RoleItem[]
